package stool.sort.resource;

import java.util.Arrays;

/**
 * @author Felix YF Dong
 * @Description 资源类
 * @Date 2022-07-07
 */
public class ResourceClass {

    public static int[] findIntArr() {
        return new int[]{4, 6, 3, 8, 2, 8, 134, 85, 2, 54};
    }

    public static void print(int[] arr) {
        System.out.println(Arrays.toString(arr));
    }

    public static void swap(int[] arr, int i, int j) {
        int swapVar = arr[i];
        arr[i] = arr[j];
        arr[j] = swapVar;
    }

}
